package com.mmloo.common.model;

import com.mmloo.common.util.TimeUtil;

/**
 * Created by jessy on 2015/9/24.
 */
public class GroupBuy extends BaseModel {
    public GroupBuy(){
        super();
        setNumber("gb"+ TimeUtil.getCurrentTimeInString());
        setPerson_count("");
    }
    private String number;
    /**
     * 允许团购量
     */
    private long amount;
    /**
     * 允许团购的商品id 以#分隔
     */
    private String goods_id;
    /**
     * 活动开始时间
     */
    private String start_time;
    /**
     * 活动结束时间
     */
    private String end_time;
    /**
     * 参加团购的人数
     */
    private String person_count;




    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public long getAmount() {
        return amount;
    }

    public void setAmount(long amount) {
        this.amount = amount;
    }

    public String getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(String goods_id) {
        this.goods_id = goods_id;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getPerson_count() {
        return person_count;
    }

    public void setPerson_count(String person_count) {
        this.person_count = person_count;
    }


}
